package com.hxzy.shop.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description 物流公司分页查询接受类
 * @Author hu-yf
 * @Data 2022/5/30 13:09
 */
@Data
public class LogisticsCompanyReq implements Serializable {

    @ApiModelProperty("当前页")
    @NotNull(message = "当前页不能为空")
    private Integer pageNum;

    @ApiModelProperty("每页的数量")
    @NotNull(message = "每页的数量不能为空")
    private Integer pageSize;

    @ApiModelProperty("公司名称模糊搜索")
    private String key;
}
